<!--{loop $_QUERY['items'] $val}-->
<li>
    <div><a href="{$_modules[shop][url]}shop.php?shopid=$val[sid]" target="_blank"><img src="$val[thumb_s]" /></a></div>
    <p><a href="{$_modules[shop][url]}shop.php?shopid=$val[sid]" title="$val[shopname]">{sublen $val[shopname],7,''}</a></a></p>
</li>
<!--{/loop}-->